package com.tl.sun.model;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;

/**
 * Created by apple on 17/3/20.
 */

public class PushMode {

    /**
     * ret : 0
     * msg : ccc
     * data : {"title":"我是标题","text":"我是 text","ticker":"出来一看","url":"http://www.jianshu.com/subscriptions#/subscriptions/1177368/user"}
     */

    private String ret;
    private String msg;
    private String code;
    private DataBean data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getRet() {
        return ret;
    }

    public void setRet(String ret) {
        this.ret = ret;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean implements Serializable{
        /**
         * title : 我是标题
         * text : 我是 text
         * ticker : 出来一看
         * url : http://www.jianshu.com/subscriptions#/subscriptions/1177368/user
         */
        private String cid;
        private String code;
        private String plat;
        private String type;
        private String activity;
        private String display_type;
        private String title;
        private String text;
        private String ticker;
        @SerializedName("in_code")
        private int vCode;
        @SerializedName("out_code")
        private String vName;
//        @SerializedName("android_url")
//        private String robustUrl;

        private String description;
        @SerializedName("android_url")
        private String androidUrl;
        @SerializedName("ios_url")
        private String iosUrl;

        public String getCid() {
            return cid;
        }

        public void setCid(String cid) {
            this.cid = cid;
        }

        public String getCode() {
            return code;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getPlat() {
            return plat;
        }

        public void setPlat(String plat) {
            this.plat = plat;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getAndroidUrl() {
            return androidUrl;
        }

        public void setAndroidUrl(String androidUrl) {
            this.androidUrl = androidUrl;
        }

        public String getIosUrl() {
            return iosUrl;
        }

        public void setIosUrl(String iosUrl) {
            this.iosUrl = iosUrl;
        }

        public String getActivity() {
            return activity;
        }

        public void setActivity(String activity) {
            this.activity = activity;
        }

        public String getDisplay_type() {
            return display_type;
        }

        public void setDisplay_type(String display_type) {
            this.display_type = display_type;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getText() {
            return text;
        }

        public void setText(String text) {
            this.text = text;
        }

        public String getTicker() {
            return ticker;
        }

        public void setTicker(String ticker) {
            this.ticker = ticker;
        }

        public int getvCode() {
            return vCode;
        }

        public void setvCode(int vCode) {
            this.vCode = vCode;
        }

        public String getvName() {
            return vName;
        }

        public void setvName(String vName) {
            this.vName = vName;
        }

//        public String getRobustUrl() {
//            return robustUrl;
//        }
//
//        public void setRobustUrl(String robustUrl) {
//            this.robustUrl = robustUrl;
//        }
    }
}
